//
//  PracticalViewController.m
//  Project_Demo
//
//  Created by caoxiaozhu on 2018/6/29.
//  Copyright © 2018年 caoxiaozhu. All rights reserved.
//

#import "PracticalViewController.h"


@interface PracticalViewController ()

@end

@implementation PracticalViewController

-(void)viewWillAppear:(BOOL)animated{
    [super viewWillAppear:animated];
    
}

- (void)viewDidLoad {
    [super viewDidLoad];
    
//    self.dataArr = @[@"工厂方法",@"运行时",@"加密算法"];
    [self setupDataArr:@[@[@"工厂方法",@"FactoryVc"],@[@"运行时",@"RunTime"],@[@"加密算法",@"EncryptVc"],@[@"WKWebView的一些知识",@"XZ_WebView_JS"],@[@"扫码",@"XZ_ScanQRCodeViewController"],@[@"响应式编程EasyReact",@"XZ_EasyReact"],@[@"Rac响应式",@"XZ_RACTableVC"]]];
    
//    __weak typeof(self)weakSelf = self;
    
//    self.clickBackBlock = ^(NSString *title) {
//        //工厂方法
//        if ([title isEqualToString:@"工厂方法"]) {
//            FactoryVc *Fac = [FactoryVc new];
//            [weakSelf.navigationController pushViewController:Fac animated:true];
//        }else if ([title isEqualToString:@"运行时"]){
//            RunTime *rt = [RunTime new];
//            [weakSelf.navigationController pushViewController:rt animated:true];
//        }else if ([title isEqualToString:@"加密算法"]){
//            EncryptVc *encryptVc = [EncryptVc new];
//            [weakSelf.navigationController pushViewController:encryptVc animated:true];
//        }
//    };
}




@end
